// JavaScript Document
function Z_get_url(pVar,pURL){//获得网页参数 
	pURL = pURL || window.location.href;
   try{
        pURL=decodeURIComponent(pURL)
   }catch(e){
		//
    }
   
   var vars =pURL.split("?");
   if(vars.length==1) return "";
   
   var varsList=vars[1].split("&");
   var equalString;
   for(var i=0;equalString=varsList[i];i++){
        var equalArray=equalString.split("=");        
        if(equalArray[0]==pVar)
            return equalArray[1] || "";
   }
}

